import { http } from '@/utils/http'
// 获得特色景点分页
export const getScenicspotPage = (data) => {
  return http({
    url: '/admin-api/countryside/visitorCenter/getScenicPointPage',
    method: 'POST',
    data,
  })
}
// 获得特色景点详情
export const getScenicspotdetail = (id) => {
  return http({
    url: '/admin-api/countryside/visitorCenter/getScenicPoint?id=' + id,
    method: 'GET',
  })
}

// 获得口碑美食分页
export const getFoodPage = (data) => {
  return http({
    url: '/admin-api/countryside/visitorCenter/getDelicacyPage',
    method: 'POST',
    data,
  })
}
// 获得口碑美食详情
export const getFooddetail = (id) => {
  return http({
    url: '/admin-api/countryside/visitorCenter/getDelicacy?id=' + id,
    method: 'GET',
  })
}

// 获得特色民宿分页
export const getHomestayPage = (data) => {
  return http({
    url: '/admin-api/countryside/visitorCenter/getHomestayPage',
    method: 'POST',
    data,
  })
}
// 获得特色民宿详情
export const getHomestaydetail = (id) => {
  return http({
    url: '/admin-api/countryside/visitorCenter/getHomestay?id=' + id,
    method: 'GET',
  })
}
